import React,{Component} from 'react'
import {Link} from 'react-router-dom'

export default class Topic extends Component {
    render(){
        return (
            <div>
                this is topic page
                <br />
                <Link to="/topic/a" >a topic sub page</Link>
                <br />
                <Link to="/topic/b">b  topic sub page</Link>
                {this.props.children}
            </div>
        )
    }
}